In [1]:
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns; sns.set()
In [2]:
%matplotlib inline
In [3]:
plt.bar([1, 2, 3], [4, 5, 6])
plt.xlabel('x vals')
plt.ylabel('y vals')
plt.title('My Bar Chart');
In [4]:
plt.boxplot([1, 2, 3, 4])
plt.xlabel('My Variable')
plt.ylabel('Values')
plt.title('Boxplot of Variable');
In [5]:
plt.hist([1, 2, 3, 4])
plt.xlabel('x values')
plt.ylabel('Frequency')
plt.title('Histogram Example');
In [6]:
plt.scatter([1, 2, 3, 4], [5, 6, 7, 8])
plt.xlabel('x vals')
plt.ylabel('y vals')
plt.title('My Scatter');
In [ ]: